<html><head><title>ReloadMaterial</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ReloadMaterial()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>ReloadMaterial</b></font>(MaterialName$, ScriptFilename$, ParseScript)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Reloads a material from an OGRE script based on the its name. This is useful when using 
customized materials stored in script files. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>MaterialName$</i></td>
<td width="90%"> 
The material name in scripts. 

</td></tr>
<tr><td><i>ScriptFilename$</i></td>
<td> 
The script filename. 

</td></tr>
<tr><td><i>ParseScript</i></td>
<td> 
If set to <font color="#924B72">#True</font> the 'ScriptFilename$' is parsed again to get updated material information. 
If set the <font color="#924B72">#False</font>, the material when the script was parsed first will used. 
A material can be get from OGRE scripts with <a href="getscriptmaterial.html">GetScriptMaterial()</a>. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=materialshininess.html>MaterialShininess()</a> - <a href=index.html>Material Index</a> - <a href=removemateriallayer.html>RemoveMaterialLayer()</a> ->

</body></html>